<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" >
<head>
    <meta charset="UTF-8">
    <!--移动端的预览设置，用于适配移动端-->
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <link rel="stylesheet" href="/Semantic-UI-CSS-master/semantic.min.css">
    <link rel="stylesheet" href="/css/myblog.css">
    <link rel="icon" href="/images/闪电.ico" sizes="32x32">
    <title>搜索结果</title>
    <script>
        var _hmt = _hmt || [];
        (function() {
            var hm = document.createElement("script");
            hm.src = "https://hm.baidu.com/hm.js?7cd3e5b5274253178c805c4447a51941";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        })();
    </script>
</head>
<script type="text/javascript">document.write(unescape("%3Cspan id='cnzz_stat_icon_1279472717'%3E%3C/span%3E%3Cscript src='https://v1.cnzz.com/z_stat.php%3Fid%3D1279472717%26show%3Dpic1' type='text/javascript'%3E%3C/script%3E"));</script>
<body>
    <!--导航-->
    <div th:replace="~{index::indexNav}"></div>

    <!--中间内容-->
    <div class="m-container-small m-padded-tb-big m-opacity-mini">
        <div class="ui container">
            <!--头部-->
            <div class="ui segment">
                <h2 class="ui header">搜索结果</h2>
            </div>
            <div class="ui teal segment ">
                <!--列表-->
                <div class="ui attached segment ">
                    <div th:if="${blogs.size()==0}"><h2>等待更新</h2></div>
                    <div class="ui padded segment vertical m-padded-b-small m-mobile-clear" th:each="blog,iter:${blogs}">
                        <div class="ui grid mobile reversed stackable">
                            <div class="ui eleven wide column">
                                <a th:href="@{'/page_blog/'+${blog.getId()}}" target="_blank">
                                    <h3 class="ui header" th:text="${blog.getTitle()}" >【一年总结】记我的自学生活</h3>
                                </a>
                                <p class="m-text-thin m-text-lined m-text-spaced" th:text="${blog.getSummary()}">学习是终身的</p>
                                <div class="ui grid">
                                    <div class="eleven wide column">
                                        <div class="ui list horizontal link mini ">
                                            <div class="item">
                                                <img src="/images/头像.png" class="ui avatar image">
                                                <div class="content"><a href="#" class="header ">闪电</a></div>
                                            </div>
                                            <div class="item">
                                                <i class="calendar icon" ></i><span th:text="${#dates.format(blog.getDate(),'yyyy-MM-dd')}">2020-11-04</span>
                                            </div>
                                            <div class="item">
                                                <i class="eye icon"></i><span th:text="${blog.getViews()}">7777</span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="five wide column right aligned ">
                                        <a th:href="@{'/page_types?typeId='+${blog.getType().getId()}}" target="_blank" class="ui label teal basic m-padded-tiny" th:text="${blog.getType().getName()}">一年总结</a>
                                    </div>
                                </div>
                            </div>
                            <div class="ui five wide column">
                                <a th:href="@{'/page_blog/'+${blog.getId()}}" target="_blank">
                                    <img th:src="${blog.getPictureUrl()}" alt="" class="ui round image">
                                </a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
     <!--底部footer-->
    <div th:replace="~{index::footer}"></div>

<script src="/js/jquery-3.5.1.min.js"></script>
<script src="/Semantic-UI-CSS-master/semantic.min.js"></script>

<script type="text/javascript">
    $("#b1").click(function (){
        $(".m-item").toggleClass("m-mobile-hide");
    });
    $('#payButton').popup({
    popup:$('.popup.payQR'),
    on:'click',
    position:'bottom center'
    })
</script>
<!--    <script src="https://myhkw.cn/player/js/player.js" id="myhk" key="160861313283" m="1"></script>-->
</body>
</html>